<?php
// +----------------------------------------------------------------------
// | 萤火商城系统 [ 致力于通过产品和服务，帮助商家高效化开拓市场 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2023 https://www.yiovo.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed 这不是一个自由软件，不允许对程序代码以任何形式任何目的的再发行
// +----------------------------------------------------------------------
// | Author: 萤火科技 <admin@yiovo.com>
// +----------------------------------------------------------------------
declare (strict_types = 1);

namespace app\common\enum\ding;

use app\common\enum\EnumBasics;

/**
 * 枚举类：订单操作方式
 * Class PayType
 * @package app\common\enum\order
 */
class Ribao extends EnumBasics
{
    // 多挣
    const DZ = 10;

    // 节省
    const JS = 20;
    // 损失
    const SS = 30;
    // 门店曝光量
    const MDBGL = 40;
    // 有效订单
    const YXDD = 50;
    //取消订单
    const QXDD = 60;
    //裂变用户数
    const LBYHS = 70;
    //邀请函曝光量
    const YQHBGL = 80;
    //邀请函裂变量
    const YQHLBL = 90;

    /**
     * 获取枚举数据
     * @return array
     */
    public static function data()
    {
        return [
            self::DZ     => [
                'name'  => '多挣',
                'value' => self::DZ,
            ],
            self::JS     => [
                'name'  => '节省',
                'value' => self::JS,
            ],
            self::SS     => [
                'name'  => '损失',
                'value' => self::SS,
            ],
            self::MDBGL  => [
                'name'  => '门店曝光量',
                'value' => self::MDBGL,
            ],
            self::YXDD   => [
                'name'  => '有效订单',
                'value' => self::YXDD,
            ],
            self::QXDD   => [
                'name'  => '取消订单',
                'value' => self::QXDD,
            ],
            self::LBYHS  => [
                'name'  => '裂变用户数',
                'value' => self::LBYHS,
            ],
            self::YQHBGL => [
                'name'  => '邀请函曝光量',
                'value' => self::YQHBGL,
            ],
            self::YQHLBL => [
                'name'  => '邀请函裂变量',
                'value' => self::YQHLBL,
            ],
        ];
    }

}
